package com.dao;

import java.sql.SQLException;
import java.util.List;

import com.vo.User;

public interface UserDAO {
	public void save(User user) throws SQLException;
	public void save1(User user) throws SQLException;
	public int delete(int id) throws SQLException;
	
	public void update(User user) throws SQLException;
	
	public User findById(int id) throws SQLException;
	
	public List<User> find() throws SQLException;
	
	public boolean find(String username, String password) throws SQLException;
	
}